module WindSpirit
{
    export class LoadResource
    {
        static isResourceLoaded = false;
        static init()
        {
            if(!this.isResourceLoaded)
            {
                RES.parseConfig(WindSpirit.Const.resData,"http://www.windspirit.cn/res/");
                RES.loadGroup(WindSpirit.Const.WIND_RESGROUP_NAME);
            }
        }
    }
}